package com.yzc.model.entity.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yzc.model.entity.base.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName t_user
 */
@TableName(value = "t_user")
@Data
public class UserBean extends BaseEntity {

    private String name;

    private String pass;

    private String beizhu;
//
//    @TableLogic
//    private Integer state;

    @TableField(exist = false)
    private int[] roleids;

    //    角色民名称信息
    @TableField(exist = false)
    private String rolenames;

    //    角色的id信息
    @TableField(exist = false)
    private String roleidString;

    @TableField(exist = false)
    private String newpass;

    @TableField(exist = false)
    private Integer roleId;
}